package com.zdb.order.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Author Lx
 * @Date 2020/9/2 18:31
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@Setter
@Getter
@TableName("zdb_pms_riders")
public class Riders {
    @TableId("id")
    private int id;         //骑手编号
    @TableField("pid")
    private int pid;         //省份编号
    @TableField("cid")
    private int cid;         //城市编号
    @TableField("did")
    private int did;         //区县编号
    @TableField("school_address")
    private int schoolAddress;         //学校地址
    @TableField("name")
    private int name;         //姓名
    @TableField("sex")
    private int sex;         //性别
    @TableField("phone")
    private int phone;         //手机号
    @TableField("qq")
    private int qq;         //qq号
    @TableField("weixin")
    private int weixin;         //微信号
    @TableField("education")
    private int education;         //学历
    @TableField("start_time")
    private int startTime;         //开始时间
    @TableField("end_time")
    private int endTime;         //截至时间

    @Override
    public String toString() {
        return "Riders{" +
                "id=" + id +
                ", pid=" + pid +
                ", cid=" + cid +
                ", did=" + did +
                ", schoolAddress=" + schoolAddress +
                ", name=" + name +
                ", sex=" + sex +
                ", phone=" + phone +
                ", qq=" + qq +
                ", weixin=" + weixin +
                ", education=" + education +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public int getDid() {
        return did;
    }

    public void setDid(int did) {
        this.did = did;
    }

    public int getSchoolAddress() {
        return schoolAddress;
    }

    public void setSchoolAddress(int schoolAddress) {
        this.schoolAddress = schoolAddress;
    }

    public int getName() {
        return name;
    }

    public void setName(int name) {
        this.name = name;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public int getPhone() {
        return phone;
    }

    public void setPhone(int phone) {
        this.phone = phone;
    }

    public int getQq() {
        return qq;
    }

    public void setQq(int qq) {
        this.qq = qq;
    }

    public int getWeixin() {
        return weixin;
    }

    public void setWeixin(int weixin) {
        this.weixin = weixin;
    }

    public int getEducation() {
        return education;
    }

    public void setEducation(int education) {
        this.education = education;
    }

    public int getStartTime() {
        return startTime;
    }

    public void setStartTime(int startTime) {
        this.startTime = startTime;
    }

    public int getEndTime() {
        return endTime;
    }

    public void setEndTime(int endTime) {
        this.endTime = endTime;
    }
}
